'use strict';


module.exports = app => {
  const { router, controller } = app;
  const url = '/api/admin/mall/shop';

  // 获取申请开店列表
  router.get(`${url}/getApplyShop`, controller.admin.mallShop.getApplyShop);

  // 根据id获取申请开店详细信息
  router.get(`${url}/:id`, controller.admin.mallShop.findByPk);

  // 审核申请开店信息
  router.put(`${url}/:id`, controller.admin.mallShop.auditApplyShop);


};
